package com.easy.neo4j.entry.bus;

import java.io.Serializable;
import java.util.Objects;

/**
 * @author: CoolPro
 * @Desc: 班车
 * @create: 2024-02-26 19:25
 **/

public class Station implements Serializable {
    private String Ticket;
    private String Mile;
    private String Start_Station_Name;
    private String Line_Type;
    private String Line_Name;
    private String End_Time;
    private String End_Station_Name;
    private String Line_Id;
    private String Start_Time;
    private String Plan_Time;
    private String Station_Sort;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Station station = (Station) o;
        return Objects.equals(Start_Station_Name, station.Start_Station_Name) && Objects.equals(Line_Type, station.Line_Type) && Objects.equals(Line_Name, station.Line_Name) && Objects.equals(End_Time, station.End_Time);
    }

    @Override
    public int hashCode() {
        return Objects.hash(Start_Station_Name, Line_Type, Line_Name, End_Time);
    }

    public Station() {
    }

    public Station(String ticket, String mile, String start_Station_Name, String line_Type, String line_Name, String end_Time, String end_Station_Name, String line_Id, String start_Time, String plan_Time, String station_Sort) {
        Ticket = ticket;
        Mile = mile;
        Start_Station_Name = start_Station_Name;
        Line_Type = line_Type;
        Line_Name = line_Name;
        End_Time = end_Time;
        End_Station_Name = end_Station_Name;
        Line_Id = line_Id;
        Start_Time = start_Time;
        Plan_Time = plan_Time;
        Station_Sort = station_Sort;
    }

    @Override
    public String toString() {
        return "Station{" +
                "Ticket='" + Ticket + '\'' +
                ", Mile='" + Mile + '\'' +
                ", Start_Station_Name='" + Start_Station_Name + '\'' +
                ", Line_Type='" + Line_Type + '\'' +
                ", Line_Name='" + Line_Name + '\'' +
                ", End_Time='" + End_Time + '\'' +
                ", End_Station_Name='" + End_Station_Name + '\'' +
                ", Line_Id='" + Line_Id + '\'' +
                ", Start_Time='" + Start_Time + '\'' +
                ", Plan_Time='" + Plan_Time + '\'' +
                ", Station_Sort='" + Station_Sort + '\'' +
                '}';
    }

    public String getTicket() {
        return Ticket;
    }

    public void setTicket(String ticket) {
        Ticket = ticket;
    }

    public String getMile() {
        return Mile;
    }

    public void setMile(String mile) {
        Mile = mile;
    }

    public String getStart_Station_Name() {
        return Start_Station_Name;
    }

    public void setStart_Station_Name(String start_Station_Name) {
        Start_Station_Name = start_Station_Name;
    }

    public String getLine_Type() {
        return Line_Type;
    }

    public void setLine_Type(String line_Type) {
        Line_Type = line_Type;
    }

    public String getLine_Name() {
        return Line_Name;
    }

    public void setLine_Name(String line_Name) {
        Line_Name = line_Name;
    }

    public String getEnd_Time() {
        return End_Time;
    }

    public void setEnd_Time(String end_Time) {
        End_Time = end_Time;
    }

    public String getEnd_Station_Name() {
        return End_Station_Name;
    }

    public void setEnd_Station_Name(String end_Station_Name) {
        End_Station_Name = end_Station_Name;
    }

    public String getLine_Id() {
        return Line_Id;
    }

    public void setLine_Id(String line_Id) {
        Line_Id = line_Id;
    }

    public String getStart_Time() {
        return Start_Time;
    }

    public void setStart_Time(String start_Time) {
        Start_Time = start_Time;
    }

    public String getPlan_Time() {
        return Plan_Time;
    }

    public void setPlan_Time(String plan_Time) {
        Plan_Time = plan_Time;
    }

    public String getStation_Sort() {
        return Station_Sort;
    }

    public void setStation_Sort(String station_Sort) {
        Station_Sort = station_Sort;
    }
}
